#!/usr/bin/env python
# -*- coding: utf-8 -*-

# #portugues@ScoutLink 2006 JOTI Bot (slbot)
# Copyright (c) 2006, ScoutLink #portugues team
# This source is released under the New BSD License. See the LICENSE file for further
# information.

# $Author$
# $Date$ 

__version__ = "$Revision$"
# $Source$

import zope.interface

class ISLPlugin(zope.interface.Interface):
    def register_me(b):
        """
        Given the "bot" object, registers all callbacks available on this plugin.
        ie.: if this plugin supplies a msg_handle function, it should register itself
        with b.register_msg_handler()
        """

    author_name    = zope.interface.Attribute("""author's name""")
    author_email   = zope.interface.Attribute("""author's email""")
    author_webpage = zope.interface.Attribute("""author webpage or None""")
    plugin_name    = zope.interface.Attribute("""string with this plugin's name""")
    plugin_version = zope.interface.Attribute("""plugin version""")
